﻿namespace Ongoal.Quotation.Common.Enum
{

    /// <summary>
    /// API 状态码
    /// </summary>
    public enum StatusCodeEnum
    {
        /// <summary>
        /// HTTP status code 100.Status100Continue
        /// </summary>
        Status100Continue = 100,
        /// <summary>
        /// HTTP status code 412.Status412PreconditionFailed
        /// </summary>
        Status412PreconditionFailed = 412,
        ///// <summary>
        ///// HTTP status code 413.Status413RequestEntityTooLarge
        ///// </summary>
        //Status413RequestEntityTooLarge = 413,
        /// <summary>
        /// HTTP status code 413.Status413PayloadTooLarge、413.Status413RequestEntityTooLarge
        /// </summary>
        Status413PayloadOrRequestEntityTooLarge = 413,
        /// <summary>
        /// HTTP status code 414.Status414RequestUriTooLong、414.Status414UriTooLong
        /// </summary>
        Status414UriTooLong = 414,
        /// <summary>
        /// HTTP status code 415.Status415UnsupportedMediaType
        /// </summary>
        Status415UnsupportedMediaType = 415,
        /// <summary>
        /// HTTP status code 416.Status416RangeNotSatisfiable
        /// </summary>
        Status416RangeNotSatisfiable = 416,
        /// <summary>
        /// HTTP status code 417.Status417ExpectationFailed
        /// </summary>
        Status417ExpectationFailed = 417,
        /// <summary>
        /// HTTP status code 418.Status418ImATeapot
        /// </summary>
        Status418ImATeapot = 418,
        /// <summary>
        /// HTTP status code 419.Status419AuthenticationTimeout
        /// </summary>
        Status419AuthenticationTimeout = 419,
        /// <summary>
        /// HTTP status code 421.Status421MisdirectedRequest
        /// </summary>
        Status421MisdirectedRequest = 421,
        /// <summary>
        /// HTTP status code 422.Status422UnprocessableEntity
        /// </summary>
        Status422UnprocessableEntity = 422,
        /// <summary>
        /// HTTP status code 423.Status423Locked
        /// </summary>
        Status423Locked = 423,
        /// <summary>
        /// HTTP status code 424.Status424FailedDependency
        /// </summary>
        Status424FailedDependency = 424,
        /// <summary>
        /// HTTP status code 426.Status426UpgradeRequired
        /// </summary>
        Status426UpgradeRequired = 426,
        /// <summary>
        /// HTTP status code 428.Status428PreconditionRequired
        /// </summary>
        Status428PreconditionRequired = 428,
        /// <summary>
        /// HTTP status code 429.Status429TooManyRequests
        /// </summary>
        Status429TooManyRequests = 429,
        /// <summary>
        /// HTTP status code 431.Status431RequestHeaderFieldsTooLarge
        /// </summary>
        Status431RequestHeaderFieldsTooLarge = 431,
        /// <summary>
        /// HTTP status code 451.Status451UnavailableForLegalReasons
        /// </summary>
        Status451UnavailableForLegalReasons = 451,
        /// <summary>
        /// HTTP status code 500.Status500InternalServerError
        /// </summary>
        Status500InternalServerError = 500,
        /// <summary>
        /// HTTP status code 501.Status501NotImplemented
        /// </summary>
        Status501NotImplemented = 501,
        /// <summary>
        /// HTTP status code 502.Status502BadGateway
        /// </summary>
        Status502BadGateway = 502,
        /// <summary>
        /// HTTP status code 503.Status503ServiceUnavailable
        /// </summary>
        Status503ServiceUnavailable = 503,
        /// <summary>
        /// HTTP status code 504.Status504GatewayTimeout
        /// </summary>
        Status504GatewayTimeout = 504,
        /// <summary>
        /// HTTP status code 505.Status505HttpVersionNotsupported
        /// </summary>
        Status505HttpVersionNotsupported = 505,
        /// <summary>
        /// HTTP status code 506.Status506VariantAlsoNegotiates
        /// </summary>
        Status506VariantAlsoNegotiates = 506,
        /// <summary>
        /// HTTP status code 507.Status507InsufficientStorage
        /// </summary>
        Status507InsufficientStorage = 507,
        /// <summary>
        /// HTTP status code 508.Status508LoopDetected
        /// </summary>
        Status508LoopDetected = 508,
        /// <summary>
        /// HTTP status code 411.Status411LengthRequired
        /// </summary>
        Status411LengthRequired = 411,
        /// <summary>
        /// HTTP status code 510.Status510NotExtended
        /// </summary>
        Status510NotExtended = 510,
        /// <summary>
        /// HTTP status code 410.Status410Gone
        /// </summary>
        Status410Gone = 410,
        /// <summary>
        /// HTTP status code 408.Status408RequestTimeout
        /// </summary>
        Status408RequestTimeout = 408,
        /// <summary>
        /// HTTP status code 101.Status101SwitchingProtocols
        /// </summary>
        Status101SwitchingProtocols = 101,
        /// <summary>
        /// HTTP status code 102.Status102Processing
        /// </summary>
        Status102Processing = 102,
        /// <summary>
        /// HTTP status code 200.Status200OK
        /// </summary>
        Status200OK = 200,
        /// <summary>
        /// HTTP status code 201.Status201Created
        /// </summary>
        Status201Created = 201,
        /// <summary>
        /// HTTP status code 202.Status202Accepted
        /// </summary>
        Status202Accepted = 202,
        /// <summary>
        /// HTTP status code 203.Status203NonAuthoritative
        /// </summary>
        Status203NonAuthoritative = 203,
        /// <summary>
        /// HTTP status code 204.Status204NoContent
        /// </summary>
        Status204NoContent = 204,
        /// <summary>
        /// HTTP status code 205.Status205ResetContent
        /// </summary>
        Status205ResetContent = 205,
        /// <summary>
        /// HTTP status code 206.Status206PartialContent
        /// </summary>
        Status206PartialContent = 206,
        /// <summary>
        /// HTTP status code 207.Status207MultiStatus
        /// </summary>
        Status207MultiStatus = 207,
        /// <summary>
        /// HTTP status code 208.Status208AlreadyReported
        /// </summary>
        Status208AlreadyReported = 208,
        /// <summary>
        /// HTTP status code 226.Status226IMUsed
        /// </summary>
        Status226IMUsed = 226,
        /// <summary>
        /// HTTP status code 300.Status300MultipleChoices
        /// </summary>
        Status300MultipleChoices = 300,
        /// <summary>
        /// HTTP status code 301.Status301MovedPermanently
        /// </summary>
        Status301MovedPermanently = 301,
        /// <summary>
        /// HTTP status code 302.Status302Found
        /// </summary>
        Status302Found = 302,
        /// <summary>
        /// HTTP status code 303.Status303SeeOther
        /// </summary>
        Status303SeeOther = 303,
        /// <summary>
        /// HTTP status code 304.Status304NotModified
        /// </summary>
        Status304NotModified = 304,
        /// <summary>
        /// HTTP status code 305.Status305UseProxy
        /// </summary>
        Status305UseProxy = 305,
        /// <summary>
        /// HTTP status code 306.Status306SwitchProxy
        /// </summary>
        Status306SwitchProxy = 306,
        /// <summary>
        /// HTTP status code 307.Status307TemporaryRedirect
        /// </summary>
        Status307TemporaryRedirect = 307,
        /// <summary>
        /// HTTP status code 308.Status308PermanentRedirect
        /// </summary>
        Status308PermanentRedirect = 308,
        /// <summary>
        /// HTTP status code 400.Status400BadRequest
        /// </summary>
        Status400BadRequest = 400,
        /// <summary>
        /// HTTP status code 401.Status401Unauthorized
        /// </summary>
        Status401Unauthorized = 401,
        /// <summary>
        /// HTTP status code 402.Status402PaymentRequired
        /// </summary>
        Status402PaymentRequired = 402,
        /// <summary>
        /// HTTP status code 403.Status403Forbidden
        /// </summary>
        Status403Forbidden = 403,
        /// <summary>
        /// HTTP status code 404.Status404NotFound
        /// </summary>
        Status404NotFound = 404,
        /// <summary>
        /// HTTP status code 405.Status405MethodNotAllowed
        /// </summary>
        Status405MethodNotAllowed = 405,
        /// <summary>
        /// HTTP status code 406.Status406NotAcceptable
        /// </summary>
        Status406NotAcceptable = 406,
        /// <summary>
        /// HTTP status code 407.Status407ProxyAuthenticationRequired
        /// </summary>
        Status407ProxyAuthenticationRequired = 407,
        /// <summary>
        /// HTTP status code 409.Status409Conflict
        /// </summary>
        Status409Conflict = 409,
        /// <summary>
        /// HTTP status code 511.Status511NetworkAuthenticationRequired
        /// </summary>
        Status511NetworkAuthenticationRequired = 511,










        /// <summary>
        /// 自定义错误
        /// </summary>
        Status1000CustomError = 1000,

        /// <summary>
        /// 参数异常
        /// </summary>
        Status1001ParameterError = 1001,

        /// <summary>
        /// 数据检测失败
        /// </summary>
        Status1002DataCheckFail = 1002,

        /// <summary>
        /// 资源加载失败
        /// </summary>
        Status1003ResourceLoadFail = 1003,

        /// <summary>
        /// 数据、操作权限不足
        /// </summary>
        Status1004AuthenticationFail = 1004,

        /// <summary>
        /// 文件创建失败
        /// </summary>
        Status1020FileCreateFail = 1020,

        /// <summary>
        /// 文件修改失败
        /// </summary>
        Status1021FileUpdateFail = 1021,

        /// <summary>
        /// 文件删除失败
        /// </summary>
        Status1022FileDeleteFail = 1022,

        /// <summary>
        /// 硬件连接失败
        /// </summary>
        Status1023HardwareConnectFail = 1023,

        /// <summary>
        /// 硬件通讯失败
        /// </summary>
        Status1024HardwareCommunicationFail = 1024,

        /// <summary>
        /// API连接失败
        /// </summary>
        Status1025HardwareConnectFail = 1025,

        /// <summary>
        /// API通讯失败
        /// </summary>
        Status1026HardwareCommunicationFail = 1026,

    }
}
